import React from 'react'
import reactDom from 'react-dom'

const App = (props) =>{
  console.log(props)
  return (
    <div>
      你好react
      { 5*9 }
      { props.title }
    </div>
  )
}

const num = 10
reactDom.render(
  <App title="hello react" subTitle={ num }/>
  ,
  document.querySelector("#root")
)